package com.cs.cssupplier.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author：lyj
 * @Package：com.cs.cssupplier.domain
 * @Project：RuoYi-Cloud-master
 * @name：CsDevice
 * @Date：2024/12/21 12:32
 * @Filename：CsDevice
 */
public class CsDevice extends BaseEntity {
    @Excel(name="产品编码")
    private String tId;
    @Excel(name="产品名称")
    private String t_name;
    @Excel(name="类别ID")
    private Integer cId;
    @Excel(name = "计量单位")
    private String t_unit;
    @Excel(name = "税率")
    private BigDecimal tax_rate;
    @Excel(name = "需求说明")
    private String t_illustrate;
    @Excel(name = "预算科目编号")
    private String du_code;
    @Excel(name = "备注")
    private String t_notes;
    @Excel(name = "规格型号")
    private String t_model;
    @Excel(name = "单价")
    private BigDecimal t_price;

    public String gettId() {
        return tId;
    }

    public void settId(String tId) {
        this.tId = tId;
    }

    public String getT_name() {
        return t_name;
    }

    public void setT_name(String t_name) {
        this.t_name = t_name;
    }

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public String getT_unit() {
        return t_unit;
    }

    public void setT_unit(String t_unit) {
        this.t_unit = t_unit;
    }

    public BigDecimal getTax_rate() {
        return tax_rate;
    }

    public void setTax_rate(BigDecimal tax_rate) {
        this.tax_rate = tax_rate;
    }

    public String getT_illustrate() {
        return t_illustrate;
    }

    public void setT_illustrate(String t_illustrate) {
        this.t_illustrate = t_illustrate;
    }

    public String getDu_code() {
        return du_code;
    }

    public void setDu_code(String du_code) {
        this.du_code = du_code;
    }

    public String getT_notes() {
        return t_notes;
    }

    public void setT_notes(String t_notes) {
        this.t_notes = t_notes;
    }

    public String getT_model() {
        return t_model;
    }

    public void setT_model(String t_model) {
        this.t_model = t_model;
    }

    public BigDecimal getT_price() {
        return t_price;
    }

    public void setT_price(BigDecimal t_price) {
        this.t_price = t_price;
    }

    public CsDevice(String tId, String t_name, Integer cId, String t_unit, BigDecimal tax_rate, String t_illustrate, String du_code, String t_notes, String t_model, BigDecimal t_price) {
        this.tId = tId;
        this.t_name = t_name;
        this.cId = cId;
        this.t_unit = t_unit;
        this.tax_rate = tax_rate;
        this.t_illustrate = t_illustrate;
        this.du_code = du_code;
        this.t_notes = t_notes;
        this.t_model = t_model;
        this.t_price = t_price;
    }

    public CsDevice() {
    }

    @Override
    public String toString() {
        return "CsDevice{" +
                "tId='" + tId + '\'' +
                ", t_name='" + t_name + '\'' +
                ", cId=" + cId +
                ", t_unit='" + t_unit + '\'' +
                ", tax_rate=" + tax_rate +
                ", t_illustrate='" + t_illustrate + '\'' +
                ", du_code='" + du_code + '\'' +
                ", t_notes='" + t_notes + '\'' +
                ", t_model='" + t_model + '\'' +
                ", t_price=" + t_price +
                '}';
    }
}
